package structures.kys;

import java.io.Serializable;

public class KysQueryParameter implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 8416759078935109537L;
	
	private String iotype;
	private String paramName;
	private String bagKeyName;
	private String preText;
	private String postText;
	private String paramType;
	private String order;
	private String defaultValue;
	private String id;
	private String mainId;

	public KysQueryParameter(String iotype, String paramName, String bagKeyName, String preText,
			String postText, String paramType, String order,
			String defaultValue, String id, String mainId) {
		super();
		this.iotype = iotype;
		this.paramName = paramName;
		this.bagKeyName = bagKeyName;
		this.preText = preText;
		this.postText = postText;
		this.paramType = paramType;
		this.order = order;
		this.defaultValue = defaultValue;
		this.id = id;
		this.mainId = mainId;
	}
	
	public KysQueryParameter(String iotype, String paramName, String paramType, String order,
			String defaultValue, String mainId) {
		super();
		this.iotype = iotype;				//I
		this.paramName = paramName;	
		this.preText = "";
		this.postText = "";
		this.paramType = paramType;		//7-CBDATE
		this.order = order;				
		this.defaultValue = defaultValue;	//0, %
		this.id = "";
		this.mainId = mainId;			//
	}

	public KysQueryParameter() {
		super();
		// TODO Auto-generated constructor stub
	}

	public String getBagKeyName() {
		return bagKeyName;
	}

	public void setBagKeyName(String bagKeyName) {
		this.bagKeyName = bagKeyName;
	}

	public String getPreText() {
		return preText;
	}

	public void setPreText(String preText) {
		this.preText = preText;
	}

	public String getPostText() {
		return postText;
	}

	public void setPostText(String postText) {
		this.postText = postText;
	}

	public String getParamType() {
		return paramType;
	}

	public void setParamType(String paramType) {
		this.paramType = paramType;
	}

	public String getOrder() {
		return order;
	}

	public void setOrder(String order) {
		this.order = order;
	}

	public String getDefaultValue() {
		return defaultValue;
	}

	public void setDefaultValue(String defaultValue) {
		this.defaultValue = defaultValue;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getMainId() {
		return mainId;
	}

	public void setMainId(String mainId) {
		this.mainId = mainId;
	}

	public static long getSerialversionuid() {
		return serialVersionUID;
	}

	public String getIotype() {
		return iotype;
	}

	public void setIotype(String iotype) {
		this.iotype = iotype;
	}

	public String getParamName() {
		return paramName;
	}

	public void setParamName(String paramName) {
		this.paramName = paramName;
	}
	
}
